<script type="text/javascript" src="./tinymce/tiny_mce.js"></script>
{literal}
<script type="text/javascript">
tinyMCE.init({
        // General options
        mode: "specific_textareas",
        theme: "advanced",
        editor_selector: "mceEditor",
        plugins: "style,table,advhr,advimage,advlink,iespell,inlinepopups,preview,print,contextmenu,paste,fullscreen,visualchars,nonbreaking,xhtmlxtras,template",

        // Theme options
        theme_advanced_buttons1 : "code,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,forecolor,backcolor,|,fullscreen,|,styleselect,formatselect,fontselect,fontsizeselect,|,toolbartoggle",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,|,insertdate,inserttime,preview",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,advhr,|,print,|,fullscreen",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
        
        height: "350px",
        schema: "html5",

        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "js/template_list.js",
        external_link_list_url : "js/link_list.js",
        external_image_list_url : "js/image_list.js",
        media_external_list_url : "js/media_list.js",

        cleanup : true,
    	cleanup_on_startup : true,
    	verify_html : true,

});
</script>
{/literal}